package com.lenovo.flutter_with_bmap.entity;

import androidx.annotation.Nullable;

import com.alibaba.fastjson.annotation.JSONField;

public class Vehicle {

    @JSONField(name = "vehicle_type")
    private int vehicleType;
    @JSONField(name = "vehicle_id")
    private String vehicleId;
    @JSONField(name = "head")
    private double head;
    @JSONField(name = "longitude")
    private double longitude;
    @JSONField(name = "latitude")
    private double latitude;
    @JSONField(name = "altitude")
    private double altitude;
    @JSONField(name = "speed")
    private int speed;
    @JSONField(name = "accuracy")
    private Integer accuracy;
    @JSONField(name = "plate_number")
    private String plateNumber;
    @JSONField(name = "brake_flag")
    private Integer brakeFlag;
    @JSONField(name = "turn_light")
    private Integer turnLight;
    @JSONField(name = "emergency_light")
    private Integer emergencyLight;
    public int getVehicleType() {
        return vehicleType;
    }

    public void setVehicleType(int vehicleType) {
        this.vehicleType = vehicleType;
    }

    public String getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(String vehicleId) {
        this.vehicleId = vehicleId;
    }

    public double getHead() {
        return head;
    }

    public void setHead(double head) {
        this.head = head;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public Integer getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(Integer accuracy) {
        this.accuracy = accuracy;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public Integer getBrakeFlag() {
        return brakeFlag;
    }

    public void setBrakeFlag(Integer brakeFlag) {
        this.brakeFlag = brakeFlag;
    }

    public Integer getTurnLight() {
        return turnLight;
    }

    public void setTurnLight(Integer turnLight) {
        this.turnLight = turnLight;
    }

    public Integer getEmergencyLight() {
        return emergencyLight;
    }

    public void setEmergencyLight(Integer emergencyLight) {
        this.emergencyLight = emergencyLight;
    }
}
